﻿@if (Request.IsAuthenticated)
{
    <text>
        <div style="text-align:right;">
            你好，@Html.ActionLink(User.Identity.Name,"Manage","Login",routeValues: null, htmlAttributes: new { @class = "username", title = "管理" }),欢迎访问本论坛！
            @using (Html.BeginForm("LogOff", "Login", FormMethod.Post, new { id = "logoutForm" }))
            {
            @Html.AntiForgeryToken()
            <a href="javascript:document.getElementById('logoutForm').submit()">注销</a>
        }

        </div>
    </text>
}
else
{ 

}